<script setup lang="ts">
import { ref } from "vue";
import CurrentWeather from "./components/CurrentWeather/index.vue";
import {} from "vue-router";
import HistoryWeather from "./components/HistoryWeather/index.vue";
const tab = ref(0);
</script>
<template>
  <div class="weather-page">
    <CurrentWeather v-show="tab === 0" v-model:tab="tab" />
    <HistoryWeather v-show="tab === 1" v-model:tab="tab" />
  </div>
</template>
